package com.rfid.common.exception;

public class RFIDException  extends RuntimeException{

    private static final long serialVersionUID = 1L;

    protected final String message;

    public RFIDException(String message) {
        this.message = message;
    }

    public RFIDException(String message, Throwable e) {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
